package com.qunji.cpsdistribution.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author sjq
 * @since 2020-07-25
 */
public class Logistics extends Model<Logistics> {

    private static final long serialVersionUID = 1L;

    /**
     * 物流id
     */
    @TableId(value = "logistics_id", type = IdType.AUTO)
    private Integer logisticsId;
    /**
     * 物流公司名称
     */
    private String logisticsName;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 规范id
     */
    private String guidanceId;
    /**
     * 注销id
     */
    private String unsubscribeId;
    /**
     * 运单号
     */
    private Integer trackingNo;


    public Integer getLogisticsId() {
        return logisticsId;
    }

    public void setLogisticsId(Integer logisticsId) {
        this.logisticsId = logisticsId;
    }

    public String getLogisticsName() {
        return logisticsName;
    }

    public void setLogisticsName(String logisticsName) {
        this.logisticsName = logisticsName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getGuidanceId() {
        return guidanceId;
    }

    public void setGuidanceId(String guidanceId) {
        this.guidanceId = guidanceId;
    }

    public String getUnsubscribeId() {
        return unsubscribeId;
    }

    public void setUnsubscribeId(String unsubscribeId) {
        this.unsubscribeId = unsubscribeId;
    }

    public Integer getTrackingNo() {
        return trackingNo;
    }

    public void setTrackingNo(Integer trackingNo) {
        this.trackingNo = trackingNo;
    }

    @Override
    protected Serializable pkVal() {
        return this.logisticsId;
    }

    @Override
    public String toString() {
        return "Logistics{" +
        ", logisticsId=" + logisticsId +
        ", logisticsName=" + logisticsName +
        ", createTime=" + createTime +
        ", guidanceId=" + guidanceId +
        ", unsubscribeId=" + unsubscribeId +
        ", trackingNo=" + trackingNo +
        "}";
    }
}
